import { defineStore } from 'pinia'
import { getConfig } from '@/config'

export interface setType {
  title: string
  baseUrl: string
}

export const useSettingStore = defineStore({
  id: 'setting',
  state: (): setType => ({
    title: getConfig().Title,
    baseUrl: getConfig().BaseUrl
  }),
  getters: {},
  actions: {}
})
